package com.quad.innovators.salesease.mapper.base;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quad.innovators.salesease.model.entity.base.Product;
import com.quad.innovators.salesease.model.query.base.ProductPageQuery;
import com.quad.innovators.salesease.model.vo.base.ProductVO;
import org.apache.ibatis.annotations.Param;


public interface ProductMapper extends BaseMapper<Product> {


    Page<ProductVO> listPaged(Page<ProductVO> page, @Param("queryParams") ProductPageQuery queryParam);

    Product selectByCode(@Param("code") String code);
}